class ParamDecorator:
    def __init__(self, name):
        self.name = name

    def __call__(self, func):
        def wrapper(*args):
            print("start {}".format(self.name))
            result = func(*args)
            print("stop")
            return result

        return wrapper


@ParamDecorator("jack")
def test():
    print("test")
    return 200

test()